package com.spring.domain;

import java.util.Date;

public class User {
	
	private int id;
	private String 	mail;
	@Override
	public String toString() {
		return "User [id=" + id + ", mail=" + mail + ", pwd=" + pwd
				+ ", startDate=" + startDate + ", activationCode="
				+ activationCode + ", newsLetter=" + newsLetter + ", admin="
				+ admin + "]";
	}

	private String 	pwd;
	private Date 	startDate;
	private String 	activationCode;
	private int 	newsLetter;
	private int	  	admin;

	public String getMail() {
		return mail;
	}

	public void setMail(String mail) {
		
		this.mail = mail;
	}

	public int getId() {
	
		return id;
	}

	public void setId(int id) {
	
		this.id = id;
	}

	public String getPwd() {
		
		return pwd;
	}

	public void setPwd(String pwd) {
	
		this.pwd = pwd;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public String getActivationCode() {
		return activationCode;
	}

	public void setActivationCode(String activationCode) {
		this.activationCode = activationCode;
	}

	public int getNewsLetter() {
		return newsLetter;
	}

	public void setNewsLetter(int newsLetter) {
		this.newsLetter = newsLetter;
	}

	public int getAdmin() {
		return admin;
	}

	public void setAdmin(int admin) {
		this.admin = admin;
	}
}
